<script setup>
import {defineProps, ref} from 'vue';
const prop =  defineProps({
  payPrice:{
    type:Number,
    default:0
  },
  status:{
    type:Boolean,
    default:false
  }
});

</script>

<template>
  <div class="pt-20 w-full">
    <div class="text-center">
      <div class="mb-10 text-rose-600">
        <a-statistic title="应收金额(元)" :value="payPrice" :precision="2" show-group-separator >
          <template #prefix>¥</template>
        </a-statistic>
      </div>
      <div class="text-sm">等待订单支付结果....</div>
      <a-spin v-if="status" class="mt-20" dot size="15" />
    </div>
  </div>
</template>

<style scoped lang="less">

</style>
